from .models import Role,User
from rest_framework.serializers import ModelSerializer

class RoleModelSerializer(ModelSerializer):
    class Meta:
        model = Role
        fields = '__all__'


class UserModelSerializer(ModelSerializer):
    class Meta:
        model = User
        fields = '__all__'